package com.kk.xhr.admin.controller.request;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * 角色添加request
 *
 * @author luokexiong
 * @version 1.0 2021/3/12
 * @since 1.0.0
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class RoleAddRequest {
    /** 角色名 */
    @NotBlank
    private String name;
    /** 角色中文名 */
    @NotBlank
    private String nameZh;
    /** order */
    @Min(1)
    private Integer order;
}
